package io.sunny.platform.backend.starter;

import io.sunny.platform.backend.security.config.listener.EnvironmentDecryptListener;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author SUNNY
 * @Date 2025/7/19 15:43
 * @PackageName: io.sunny.platform.starter
 * @Description: 启动类
 * @Version 1.0
 */
@ComponentScan(basePackages = {"io.sunny.platform.backend"})
@SpringBootApplication
public class PlatformStarter {
    public static void main(String[] args) {
        new SpringApplicationBuilder(PlatformStarter.class)
                .listeners(new EnvironmentDecryptListener())
                .run(args);
    }
}
